package com.itcast.tanhuaserver.service;

import com.itcast.tanhuaserver.vo.CountsVo;
import com.itcast.tanhuaserver.vo.PageResult;
import com.itcast.tanhuaserver.vo.SettingsVo;
import com.itcast.tanhuaserver.vo.UserInfoVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @PachageName: com.itcast.tanhuaserver.service
 * @ClassName:
 * @Description: TODO
 * @Author: Hushi
 * @DateTime: 2021/3/117:22
 * @Version 1.0
 */
public interface UsersService {
    UserInfoVo queryUserInfo(Long userID, Long huanxinID);

    Boolean saveLogo(MultipartFile headPhoto);

    Boolean updateUserInfo(UserInfoVo userInfoVo);

    CountsVo queryCounts();

    PageResult queryLikeList(Integer valueOf, Integer page, Integer pageSize, String nickname);

    void disLike(Long userId);

    void likeFan(Long userId);

    SettingsVo querySettings();

    void saveQuestions(String content);

    PageResult queryBlacklist(Integer page, Integer pagesize);

    void delBlacklist(Long userId);

    void updateNotification(Boolean likeNotification, Boolean pinglunNotification, Boolean gonggaoNotification);

    boolean sendVerificationCode(String token);

    Boolean checkVerificationCode(String code, String token);

    boolean savePhone(String token, String newPhone);
}
